package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;

/**
 * 整容项目表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "FaceLiftItemEntity", name = "face_lift_item", comment = "整容项目表")
public class FaceLiftItemEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;

    /**
     * 要求完成时间
     */
    @MyColumn(value = "requireFinishTime", name = "require_finish_time", comment = "要求完成时间")
    private Date requireFinishTime;

    /**
     * 实际完成时间
     */
    @MyColumn(value = "realityFinishTime", name = "reality_finish_time", comment = "实际完成时间")
    private Date realityFinishTime;

    /**
     * 实际完成人员外键
     */
    @MyColumn(value = "finishUserId", name = "finish_user_id", comment = "实际完成人员外键", required = true)
    private Integer finishUserId;

    /**
     * 流程状态
     */
    @MyColumn(value = "processStateCode", name = "process_state_code", comment = "流程状态", required = true)
    private Integer processStateCode;

    /**
     * 随机码
     */
    @MyColumn(value = "randomCode", name = "random_code", comment = "随机码")
    private String randomCode;

    /**
     * 费用外键
     */
    @MyColumn(value = "chargeId", name = "charge_id", comment = "费用外键")
    private Integer chargeId;

    /**
     * 是否插花
     */
    @MyColumn(value = "asArrangeFlower", name = "as_arrange_flower", comment = "是否插花")
    private Integer asArrangeFlower;


    public String getBusinessCode() {
        return businessCode;
    }

    public FaceLiftItemEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public FaceLiftItemEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public Date getRequireFinishTime() {
        return requireFinishTime;
    }

    public FaceLiftItemEntity setRequireFinishTime(Date requireFinishTime) {
        this.requireFinishTime = requireFinishTime;
        return this;
    }

    public Date getRealityFinishTime() {
        return realityFinishTime;
    }

    public FaceLiftItemEntity setRealityFinishTime(Date realityFinishTime) {
        this.realityFinishTime = realityFinishTime;
        return this;
    }

    public Integer getFinishUserId() {
        return finishUserId;
    }

    public FaceLiftItemEntity setFinishUserId(Integer finishUserId) {
        this.finishUserId = finishUserId;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public FaceLiftItemEntity setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public FaceLiftItemEntity setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }

    public Integer getChargeId() {
        return chargeId;
    }

    public FaceLiftItemEntity setChargeId(Integer chargeId) {
        this.chargeId = chargeId;
        return this;
    }

    public Integer getAsArrangeFlower() {
        return asArrangeFlower;
    }

    public FaceLiftItemEntity setAsArrangeFlower(Integer asArrangeFlower) {
        this.asArrangeFlower = asArrangeFlower;
        return this;
    }
}